QUERY.DROP Function

Syntax

.Drop(p pobj )

Arguments

pobj

Pointer

Description

The .DROP() method deletes the query list file ($$*.MPX) referenced by the object pointer.

Example

dim tbl as P
dim rec as C
dim nrecs as N
dim qry as P
dim ptr as P
rec = "11111"
tbl = table.open("test")
query.filter = "rec = left(ID,5)"
qry = tbl.query_create()
nrecs = qry.records_get()
qry.drop()
ui_msg_box("","" + nrecs)
tbl.close()

See Also